[Unit]
Description=Consul agent ans server service
After=network.target network-online.target


[Service]
User=consul
Group=consul
Type=notify
Environment=GOMAXPROCS=4
Restart=always
ExecStart=/usr/bin/consul agent -config-dir=/etc/consul
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
LimitNOFILE=65536


[Install]
WantedBy=multi-user.target
